package com.zhisheng.gufei.web.action.mainpage;

import com.demo2do.lighturl.annotation.Action;
import com.zhisheng.core.web.action.BaseAction;


/*
 * 
 * 主页  包含登录和退出
 * 
 */
public class MainAction extends BaseAction{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8333642471668643001L;
	
	private String error;
	
	@Action("/login")
	public String login() throws Exception{
		return "login";
	}
	
	@Action("/logout")
	public String logout() throws Exception{
		return "login";
	}
	
	@Action("/main")
	public String main() throws Exception{
		return "main";
	}
	
	@Action("/header")
	public String header() throws Exception{
		return "header";
	}
	
	@Action("/tree")
	public String tree() throws Exception{
		return "tree";
	}
	
	@Action("/content")
	public String content() throws Exception{
		return "content";
	}	
	@Action("/developing")
	public String developing() throws Exception{
		return "developing";
	}
	
	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}
	
}
